package org.spring.springboot.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.sun.tools.internal.ws.processor.model.Request;

/**
 * Spring Boot HelloWorld 案例
 *
 * Created by bysocket on 16/4/26.
 */
@Controller
public class IndexController {

    @RequestMapping(value = "/index.html",method= RequestMethod.GET)
    public String index() {
    	
        return "index";
    }
}
